package com.yidu.labyrinth.dao;

import com.yidu.labyrinth.main.*;
import com.yidu.labyrinth.vo.LabyrinthVo;
import com.yidu.labyrinth.vo.Pages;

import java.util.List;
/**
 * @program: labyrinth
 * @description  角色模块数据层接口
 * @Date:2019-09-25 13:44
 * @Author:谭俊
 **/
public interface LabyrinthRoleDao {

    /**
     * 查询所有
     * @param labyrinthRoleEntity
     * @return
     */
    public List<LabyrinthRoleEntity> findAll(LabyrinthRoleEntity labyrinthRoleEntity, Pages pages);

    /**
     * 查询总行数
     * @param labyrinthVo Vo模型层
     * @return
     */
    Long count(LabyrinthVo labyrinthVo);


    /**
     * 修改状态
     * @param labyrinthRoleEntity
     */
    int save(LabyrinthRoleEntity labyrinthRoleEntity);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    LabyrinthRoleEntity findById(String id);






    List<LabyrinthModuleEntity> findAlls();















}
